<template>
  <el-card class="box-card">
    <div class="usercardtop">
      <img src="../img/clothes_goods_1.jpg" alt="" />
      <div class="userinfo">
        <p class="namecard">admin</p>
        <p class="access">超级管理员</p>
      </div>
    </div>
    <div class="usercardon">
      <p>上次登录的时间:<span>2019-7-10</span></p>
      <p>上次登录的地点:<span>武汉</span></p>
    </div>
  </el-card>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.usercardtop {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 40px;
  }
  .namecard {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .access {
    color: #999;
  }
}
.usercardon {
  p {
    line-height: 28px;
    font-size: 14px;
    color: #999;
    span {
      margin-left: 60px;
      color: #666;
    }
  }
}
.box-card {
  margin-bottom: 20px;
}
</style>
